package hutech.ksv.view;

import hutech.ksv.entity.ThongTinUngVienEntity;
import hutech.ksv.service.TTUngVienService;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("session")
public class TTUngVienManageBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Autowired
	TTUngVienService ttuvService;
	
	private String tenTKSV;
	private int maVTTD;
	private int maTTTD;
	private Date ngayDangKyTD;
	public String getTenTKSV() {
		return tenTKSV;
	}
	public void setTenTKSV(String tenTKSV) {
		this.tenTKSV = tenTKSV;
	}
	public int getMaVTTD() {
		return maVTTD;
	}
	public void setMaVTTD(int maVTTD) {
		this.maVTTD = maVTTD;
	}
	public int getMaTTTD() {
		return maTTTD;
	}
	public void setMaTTTD(int maTTTD) {
		this.maTTTD = maTTTD;
	}
	public Date getNgayDangKyTD() {
		return ngayDangKyTD;
	}
	public void setNgayDangKyTD(Date ngayDangKyTD) {
		this.ngayDangKyTD = ngayDangKyTD;
	}
	
	public List<ThongTinUngVienEntity> loadThongTinUV() {
		return ttuvService.loadThongTinUV();
	}
}
